﻿#include "diamondmember.h"

#include "abstractchatroom.h"
#include "chatroom.h"

DiamondMember::DiamondMember(int id, int level) : Member(id, level)
{

}

void DiamondMember::sendImage(int id, QString imageName)
{
    imageName.append("from DiamondMember");
    m_chartRoom->sendImage(this->id(), id, imageName);
}

void DiamondMember::sendText(int id, QString textInfo)
{
    textInfo.append("from DiamondMember");
    m_chartRoom->sendText(this->id(), id, textInfo);
}
